import request from '@/utils/request'

export function getList(params) {
  //协拍公司表
  return request({
    url: '/adminapi/starxiepaicompany/list',
    method: 'get',
    params,
  })
}
export function doDelete(params) {
  //协拍公司表删除
  return request({
    url: '/adminapi/starxiepaicompany/delete',
    method: 'get',
    params,
  })
}
export function doEdit(data) {
  //协拍公司表修改
  return request({
    url: '/adminapi/starxiepaicompany/update',
    method: 'post',
    data,
  })
}
export function doAdd(data) {
  //协拍公司表添加
  return request({
    url: '/adminapi/starxiepaicompany/save',
    method: 'post',
    data,
  })
}
